package com.hckjsec.cloud.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 网站登录用户对象 web_website_user
 * 
 * @author cyt
 * @date 2021-10-22
 */
public class WebWebsiteUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** webid */
    private String webId;

    /** 配置id */
    @Excel(name = "配置id")
    private Long configId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 登录名 */
    @Excel(name = "登录名")
    private String loginName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date operatortime;

    public void setWebId(String webId) 
    {
        this.webId = webId;
    }

    public String getWebId() 
    {
        return webId;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("webId", getWebId())
            .append("configId", getConfigId())
            .append("deptId", getDeptId())
            .append("loginName", getLoginName())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
